package com.bed.lovewithpatientbed.common;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author sunningsheng
 * @version 1.0.0
 * @ClassName BedPutBean.java
 * @Description 前端展示信息的封装类
 * @createTime 2020年10月15日 23:36:00
 */
public class BedPutBean {

    /**
     * 已投放的床位id
     */
    private Integer bedPutId;

    /**
     * 床的id
     */
    private Integer bedId;

    /**
     * 地址id
     */
    private Integer addressId;

    /**
     *省份
     */
    private String province;

    /**
     *城市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     *医院名称
     */
    private String hospitalName;

    /**
     * 科室名称
     */
    private String deptName;

    /**
     *投放日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date putDate;

    /**
     * 床位状态
     */
    private String bedStatusName;

    public Integer getBedPutId() {
        return bedPutId;
    }

    public void setBedPutId(Integer bedPutId) {
        this.bedPutId = bedPutId;
    }

    public Integer getBedId() {
        return bedId;
    }

    public void setBedId(Integer bedId) {
        this.bedId = bedId;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Date getPutDate() {
        return putDate;
    }

    public void setPutDate(Date putDate) {
        this.putDate = putDate;
    }

    public String getBedStatusName() {
        return bedStatusName;
    }

    public void setBedStatusName(String bedStatusName) {
        this.bedStatusName = bedStatusName;
    }

    @Override
    public String toString() {
        return "BedPutBean{" +
                "bedPutId=" + bedPutId +
                ", bedId=" + bedId +
                ", addressId=" + addressId +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", hospitalName='" + hospitalName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", putDate=" + putDate +
                ", bedStatusName='" + bedStatusName + '\'' +
                '}';
    }
}
